class UserLoginRequest {
  String userName;
  String password;
  int remember;

  UserLoginRequest({this.userName, this.remember, this.password});

  factory UserLoginRequest.fromJson(Map<String, dynamic> json) {
    return UserLoginRequest(
      userName: json['user_name'],
      remember: json['remember'],
      password: json['password'],
    );
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['user_name'] = this.userName;
    data['remember'] = this.remember;
    data['password'] = this.password;
    return data;
  }
}
